package com.vkserver.server;

import com.vkserver.services.utils.User;
import com.vkserver.services.utils.UserResource;
import org.restlet.resource.ServerResource;

/**
 *@author roman.prudkogliad@gmail.com
 */
public class UserActionResources extends ServerResource implements UserResource{


    public String retrieve(String text) {
        return new User(123123, 1, text).toString();
    }

    public void store(String text) {
        System.out.println("user " + text);

        //To change body of implemented methods use File | Settings | File Templates.
    }

    public void remove() {
        //To change body of implemented methods use File | Settings | File Templates.
    }
}
